﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace WoSoft.PACS.Win.MyControlsNew
{
    public partial class MyChannelControl : UserControl
    {
        public uint m_nChannelNumber = 0;

        public MyChannelControl()
        {
            InitializeComponent();
        }

        protected override void WndProc(ref Message m)
        {
            if (m.Msg == 0x0201) // WM_LBUTTONDOWN
            {
                FrmCaptureNew myForm = (FrmCaptureNew)this.Parent;

                myForm.OnLButtonDown_ChannelControl(m_nChannelNumber);
            }

            base.WndProc(ref m);
        }
    }
}
